package user;

import javax.xml.crypto.dsig.spec.XSLTTransformParameterSpec;

public abstract class User {
    private String name;
    private int userID;

    public abstract int display();

    public User(String name, int userID) {
        this.name = name;
        this.userID = userID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", userID=" + userID +
                '}';
    }
}
